package com.xc.hotelmgr.fegin.service;


import com.alibaba.fastjson.JSONObject;
import com.xc.hotelmgr.fegin.pojo.DelRp;
import com.xc.hotelmgr.fegin.pojo.SendAllList;
import com.xc.hotelmgr.fegin.pojo.UpDownList;
import com.xc.hotelmgr.fegin.utils.ComResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient("datahandler-mt")
public interface MtFeginService {

    @RequestMapping(value = "/callback/poi", method = RequestMethod.POST)
    boolean callbackHotel(@RequestBody JSONObject jsonObject);

    @RequestMapping(value = "/callback/rs", method = RequestMethod.POST)
    boolean callbackRs(@RequestBody JSONObject jsonObject);

    @RequestMapping(value = "/callback/rp", method = RequestMethod.POST)
    boolean callbackRp(@RequestBody JSONObject jsonObject);
}
